package com.aaa.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {

        private Integer code;//状态码
        private String msg;//消息
        private Object data;//数据

        public Result(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }
    }

